﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class ImageDefinition
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class ImageDefinition
   ">
    <meta name="generator" content="docfx 2.56.4.0">
    
    <link rel="shortcut icon" href="../favicon.ico">
    <link rel="stylesheet" href="../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../styles/docfx.css">
    <link rel="stylesheet" href="../styles/main.css">
    <meta property="docfx:navrel" content="../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    
    
    
  </head>
  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../index.html">
                <img id="logo" class="svg" src="../logo.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="netDxf.Objects.ImageDefinition">
  
  
  <h1 id="netDxf_Objects_ImageDefinition" data-uid="netDxf.Objects.ImageDefinition" class="text-break">Class ImageDefinition
  </h1>
  <div class="markdown level0 summary"><p>Represents an image definition.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><a class="xref" href="netDxf.DxfObject.html">DxfObject</a></div>
    <div class="level2"><a class="xref" href="netDxf.Tables.TableObject.html">TableObject</a></div>
    <div class="level3"><span class="xref">ImageDefinition</span></div>
  </div>
  <div classs="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="netDxf.IHasXData.html">IHasXData</a></div>
    <div><span class="xref">System.ICloneable</span></div>
    <div><span class="xref">System.IComparable</span></div>
    <div><span class="xref">System.IComparable</span>&lt;<a class="xref" href="netDxf.Tables.TableObject.html">TableObject</a>&gt;</div>
    <div><span class="xref">System.IEquatable</span>&lt;<a class="xref" href="netDxf.Tables.TableObject.html">TableObject</a>&gt;</div>
  </div>
  <div class="inheritedMembers">
    <h5>Inherited Members</h5>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_NameChanged">TableObject.NameChanged</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_OnNameChangedEvent_System_String_System_String_">TableObject.OnNameChangedEvent(String, String)</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_XDataAddAppReg">TableObject.XDataAddAppReg</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_OnXDataAddAppRegEvent_netDxf_Tables_ApplicationRegistry_">TableObject.OnXDataAddAppRegEvent(ApplicationRegistry)</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_XDataRemoveAppReg">TableObject.XDataRemoveAppReg</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_OnXDataRemoveAppRegEvent_netDxf_Tables_ApplicationRegistry_">TableObject.OnXDataRemoveAppRegEvent(ApplicationRegistry)</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_Name">TableObject.Name</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_IsReserved">TableObject.IsReserved</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_InvalidCharacters">TableObject.InvalidCharacters</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_XData">TableObject.XData</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_IsValidName_System_String_">TableObject.IsValidName(String)</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_ToString">TableObject.ToString()</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_CompareTo_System_Object_">TableObject.CompareTo(Object)</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_CompareTo_netDxf_Tables_TableObject_">TableObject.CompareTo(TableObject)</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_GetHashCode">TableObject.GetHashCode()</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_Equals_System_Object_">TableObject.Equals(Object)</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_Equals_netDxf_Tables_TableObject_">TableObject.Equals(TableObject)</a>
    </div>
    <div>
      <a class="xref" href="netDxf.DxfObject.html#netDxf_DxfObject_CodeName">DxfObject.CodeName</a>
    </div>
    <div>
      <a class="xref" href="netDxf.DxfObject.html#netDxf_DxfObject_Handle">DxfObject.Handle</a>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.GetType()</span>
    </div>
    <div>
      <span class="xref">System.Object.MemberwiseClone()</span>
    </div>
    <div>
      <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
    </div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="netDxf.Objects.html">netDxf.Objects</a></h6>
  <h6><strong>Assembly</strong>: CADability.dll</h6>
  <h5 id="netDxf_Objects_ImageDefinition_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ImageDefinition : TableObject, IHasXData, ICloneable, IComparable, IComparable&lt;TableObject&gt;, IEquatable&lt;TableObject&gt;</code></pre>
  </div>
  <h3 id="constructors">Constructors
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Objects_ImageDefinition__ctor_System_String_.md&amp;value=---%0Auid%3A%20netDxf.Objects.ImageDefinition.%23ctor(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Objects/ImageDefinition.cs/#L157">View Source</a>
  </span>
  <a id="netDxf_Objects_ImageDefinition__ctor_" data-uid="netDxf.Objects.ImageDefinition.#ctor*"></a>
  <h4 id="netDxf_Objects_ImageDefinition__ctor_System_String_" data-uid="netDxf.Objects.ImageDefinition.#ctor(System.String)">ImageDefinition(String)</h4>
  <div class="markdown level1 summary"><p>Initializes a new instance of the <code>ImageDefinition</code> class.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ImageDefinition(string file)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">file</span></td>
        <td><p>Image file name with full or relative path.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 id="netDxf_Objects_ImageDefinition__ctor_System_String__remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>
The name of the file without extension will be used as the name of the image definition.
</p>
<p>
Supported image formats: BMP, JPG, PNG, TIFF.<br>
Even thought AutoCAD supports more image formats, this constructor is restricted to the ones the net framework supports in common with AutoCAD.
Use the generic constructor instead.
</p>
<p>
Note (this is from the ACAD docs): AutoCAD 2000, AutoCAD LT 2000, and later releases do not support LZW-compressed TIFF files,
with the exception of English language versions sold in the US and Canada.<br>
If you have TIFF files that were created using LZW compression and want to insert them into a drawing 
you must save the TIFF files with LZW compression disabled.
</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Objects_ImageDefinition__ctor_System_String_System_Int32_System_Double_System_Int32_System_Double_netDxf_Units_ImageResolutionUnits_.md&amp;value=---%0Auid%3A%20netDxf.Objects.ImageDefinition.%23ctor(System.String%2CSystem.Int32%2CSystem.Double%2CSystem.Int32%2CSystem.Double%2CnetDxf.Units.ImageResolutionUnits)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Objects/ImageDefinition.cs/#L80">View Source</a>
  </span>
  <a id="netDxf_Objects_ImageDefinition__ctor_" data-uid="netDxf.Objects.ImageDefinition.#ctor*"></a>
  <h4 id="netDxf_Objects_ImageDefinition__ctor_System_String_System_Int32_System_Double_System_Int32_System_Double_netDxf_Units_ImageResolutionUnits_" data-uid="netDxf.Objects.ImageDefinition.#ctor(System.String,System.Int32,System.Double,System.Int32,System.Double,netDxf.Units.ImageResolutionUnits)">ImageDefinition(String, Int32, Double, Int32, Double, ImageResolutionUnits)</h4>
  <div class="markdown level1 summary"><p>Initializes a new instance of the <code>ImageDefinition</code> class.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ImageDefinition(string file, int width, double horizontalResolution, int height, double verticalResolution, ImageResolutionUnits units)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">file</span></td>
        <td><p>Image file name with full or relative path.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">width</span></td>
        <td><p>Image width in pixels.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">horizontalResolution</span></td>
        <td><p>Image horizontal resolution in pixels.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">height</span></td>
        <td><p>Image height in pixels.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">verticalResolution</span></td>
        <td><p>Image vertical resolution in pixels.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="netDxf.Units.ImageResolutionUnits.html">ImageResolutionUnits</a></td>
        <td><span class="parametername">units</span></td>
        <td><p>Image resolution units.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 id="netDxf_Objects_ImageDefinition__ctor_System_String_System_Int32_System_Double_System_Int32_System_Double_netDxf_Units_ImageResolutionUnits__remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>
The name of the file without extension will be used as the name of the image definition.
</p>
<p>
This is a generic constructor for all image formats supported by AutoCAD, note that not all AutoCAD versions support the same image formats.
</p>
<p>
Note (this is from the ACAD docs): AutoCAD 2000, AutoCAD LT 2000, and later releases do not support LZW-compressed TIFF files,
with the exception of English language versions sold in the US and Canada.<br>
If you have TIFF files that were created using LZW compression and want to insert them into a drawing 
you must save the TIFF files with LZW compression disabled.
</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Objects_ImageDefinition__ctor_System_String_System_String_.md&amp;value=---%0Auid%3A%20netDxf.Objects.ImageDefinition.%23ctor(System.String%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Objects/ImageDefinition.cs/#L183">View Source</a>
  </span>
  <a id="netDxf_Objects_ImageDefinition__ctor_" data-uid="netDxf.Objects.ImageDefinition.#ctor*"></a>
  <h4 id="netDxf_Objects_ImageDefinition__ctor_System_String_System_String_" data-uid="netDxf.Objects.ImageDefinition.#ctor(System.String,System.String)">ImageDefinition(String, String)</h4>
  <div class="markdown level1 summary"><p>Initializes a new instance of the <code>ImageDefinition</code> class.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ImageDefinition(string name, string file)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">name</span></td>
        <td><p>Image definition name.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">file</span></td>
        <td><p>Image file name with full or relative path.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 id="netDxf_Objects_ImageDefinition__ctor_System_String_System_String__remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>
The name assigned to the image definition must be unique.
</p>
<p>
Supported image formats: BMP, JPG, PNG, TIFF.<br>
Even thought AutoCAD supports more image formats, this constructor is restricted to the ones the .net library supports in common with AutoCAD.
Use the generic constructor instead.
</p>
<p>
Note (this is from the ACAD docs): AutoCAD 2000, AutoCAD LT 2000, and later releases do not support LZW-compressed TIFF files,
with the exception of English language versions sold in the US and Canada.<br>
If you have TIFF files that were created using LZW compression and want to insert them into a drawing 
you must save the TIFF files with LZW compression disabled.
</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Objects_ImageDefinition__ctor_System_String_System_String_System_Int32_System_Double_System_Int32_System_Double_netDxf_Units_ImageResolutionUnits_.md&amp;value=---%0Auid%3A%20netDxf.Objects.ImageDefinition.%23ctor(System.String%2CSystem.String%2CSystem.Int32%2CSystem.Double%2CSystem.Int32%2CSystem.Double%2CnetDxf.Units.ImageResolutionUnits)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Objects/ImageDefinition.cs/#L109">View Source</a>
  </span>
  <a id="netDxf_Objects_ImageDefinition__ctor_" data-uid="netDxf.Objects.ImageDefinition.#ctor*"></a>
  <h4 id="netDxf_Objects_ImageDefinition__ctor_System_String_System_String_System_Int32_System_Double_System_Int32_System_Double_netDxf_Units_ImageResolutionUnits_" data-uid="netDxf.Objects.ImageDefinition.#ctor(System.String,System.String,System.Int32,System.Double,System.Int32,System.Double,netDxf.Units.ImageResolutionUnits)">ImageDefinition(String, String, Int32, Double, Int32, Double, ImageResolutionUnits)</h4>
  <div class="markdown level1 summary"><p>Initializes a new instance of the <code>ImageDefinition</code> class.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ImageDefinition(string name, string file, int width, double horizontalResolution, int height, double verticalResolution, ImageResolutionUnits units)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">name</span></td>
        <td><p>Image definition name.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">file</span></td>
        <td><p>Image file name with full or relative path.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">width</span></td>
        <td><p>Image width in pixels.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">horizontalResolution</span></td>
        <td><p>Image horizontal resolution in pixels.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">height</span></td>
        <td><p>Image height in pixels.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">verticalResolution</span></td>
        <td><p>Image vertical resolution in pixels.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="netDxf.Units.ImageResolutionUnits.html">ImageResolutionUnits</a></td>
        <td><span class="parametername">units</span></td>
        <td><p>Image resolution units.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 id="netDxf_Objects_ImageDefinition__ctor_System_String_System_String_System_Int32_System_Double_System_Int32_System_Double_netDxf_Units_ImageResolutionUnits__remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>
The name assigned to the image definition must be unique.
</p>
<p>
This is a generic constructor for all image formats supported by AutoCAD, note that not all AutoCAD versions support the same image formats.
</p>
<p>
Note (this is from the ACAD docs): AutoCAD 2000, AutoCAD LT 2000, and later releases do not support LZW-compressed TIFF files,
with the exception of English language versions sold in the US and Canada.<br>
If you have TIFF files that were created using LZW compression and want to insert them into a drawing 
you must save the TIFF files with LZW compression disabled.
</p>
</div>
  <h3 id="properties">Properties
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Objects_ImageDefinition_File.md&amp;value=---%0Auid%3A%20netDxf.Objects.ImageDefinition.File%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Objects/ImageDefinition.cs/#L222">View Source</a>
  </span>
  <a id="netDxf_Objects_ImageDefinition_File_" data-uid="netDxf.Objects.ImageDefinition.File*"></a>
  <h4 id="netDxf_Objects_ImageDefinition_File" data-uid="netDxf.Objects.ImageDefinition.File">File</h4>
  <div class="markdown level1 summary"><p>Gets the image file.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string File { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Objects_ImageDefinition_Height.md&amp;value=---%0Auid%3A%20netDxf.Objects.ImageDefinition.Height%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Objects/ImageDefinition.cs/#L238">View Source</a>
  </span>
  <a id="netDxf_Objects_ImageDefinition_Height_" data-uid="netDxf.Objects.ImageDefinition.Height*"></a>
  <h4 id="netDxf_Objects_ImageDefinition_Height" data-uid="netDxf.Objects.ImageDefinition.Height">Height</h4>
  <div class="markdown level1 summary"><p>Gets the image height in pixels.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public int Height { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Objects_ImageDefinition_HorizontalResolution.md&amp;value=---%0Auid%3A%20netDxf.Objects.ImageDefinition.HorizontalResolution%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Objects/ImageDefinition.cs/#L274">View Source</a>
  </span>
  <a id="netDxf_Objects_ImageDefinition_HorizontalResolution_" data-uid="netDxf.Objects.ImageDefinition.HorizontalResolution*"></a>
  <h4 id="netDxf_Objects_ImageDefinition_HorizontalResolution" data-uid="netDxf.Objects.ImageDefinition.HorizontalResolution">HorizontalResolution</h4>
  <div class="markdown level1 summary"><p>Gets the image horizontal resolution in pixels per unit.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public double HorizontalResolution { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Objects_ImageDefinition_Owner.md&amp;value=---%0Auid%3A%20netDxf.Objects.ImageDefinition.Owner%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Objects/ImageDefinition.cs/#L290">View Source</a>
  </span>
  <a id="netDxf_Objects_ImageDefinition_Owner_" data-uid="netDxf.Objects.ImageDefinition.Owner*"></a>
  <h4 id="netDxf_Objects_ImageDefinition_Owner" data-uid="netDxf.Objects.ImageDefinition.Owner">Owner</h4>
  <div class="markdown level1 summary"><p>Gets the owner of the actual image definition.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ImageDefinitions Owner { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Collections.ImageDefinitions.html">ImageDefinitions</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Objects_ImageDefinition_ResolutionUnits.md&amp;value=---%0Auid%3A%20netDxf.Objects.ImageDefinition.ResolutionUnits%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Objects/ImageDefinition.cs/#L246">View Source</a>
  </span>
  <a id="netDxf_Objects_ImageDefinition_ResolutionUnits_" data-uid="netDxf.Objects.ImageDefinition.ResolutionUnits*"></a>
  <h4 id="netDxf_Objects_ImageDefinition_ResolutionUnits" data-uid="netDxf.Objects.ImageDefinition.ResolutionUnits">ResolutionUnits</h4>
  <div class="markdown level1 summary"><p>Gets or sets the image resolution units.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ImageResolutionUnits ResolutionUnits { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Units.ImageResolutionUnits.html">ImageResolutionUnits</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Objects_ImageDefinition_VerticalResolution.md&amp;value=---%0Auid%3A%20netDxf.Objects.ImageDefinition.VerticalResolution%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Objects/ImageDefinition.cs/#L282">View Source</a>
  </span>
  <a id="netDxf_Objects_ImageDefinition_VerticalResolution_" data-uid="netDxf.Objects.ImageDefinition.VerticalResolution*"></a>
  <h4 id="netDxf_Objects_ImageDefinition_VerticalResolution" data-uid="netDxf.Objects.ImageDefinition.VerticalResolution">VerticalResolution</h4>
  <div class="markdown level1 summary"><p>Gets the image vertical resolution in pixels per unit.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public double VerticalResolution { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Objects_ImageDefinition_Width.md&amp;value=---%0Auid%3A%20netDxf.Objects.ImageDefinition.Width%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Objects/ImageDefinition.cs/#L230">View Source</a>
  </span>
  <a id="netDxf_Objects_ImageDefinition_Width_" data-uid="netDxf.Objects.ImageDefinition.Width*"></a>
  <h4 id="netDxf_Objects_ImageDefinition_Width" data-uid="netDxf.Objects.ImageDefinition.Width">Width</h4>
  <div class="markdown level1 summary"><p>Gets the image width in pixels.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public int Width { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Objects_ImageDefinition_Clone.md&amp;value=---%0Auid%3A%20netDxf.Objects.ImageDefinition.Clone%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Objects/ImageDefinition.cs/#L328">View Source</a>
  </span>
  <a id="netDxf_Objects_ImageDefinition_Clone_" data-uid="netDxf.Objects.ImageDefinition.Clone*"></a>
  <h4 id="netDxf_Objects_ImageDefinition_Clone" data-uid="netDxf.Objects.ImageDefinition.Clone">Clone()</h4>
  <div class="markdown level1 summary"><p>Creates a new ImageDefinition that is a copy of the current instance.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public override object Clone()</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Object</span></td>
        <td><p>A new ImageDefinition that is a copy of this instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="overrides">Overrides</h5>
  <div><a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_Clone">TableObject.Clone()</a></div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Objects_ImageDefinition_Clone_System_String_.md&amp;value=---%0Auid%3A%20netDxf.Objects.ImageDefinition.Clone(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Objects/ImageDefinition.cs/#L314">View Source</a>
  </span>
  <a id="netDxf_Objects_ImageDefinition_Clone_" data-uid="netDxf.Objects.ImageDefinition.Clone*"></a>
  <h4 id="netDxf_Objects_ImageDefinition_Clone_System_String_" data-uid="netDxf.Objects.ImageDefinition.Clone(System.String)">Clone(String)</h4>
  <div class="markdown level1 summary"><p>Creates a new ImageDefinition that is a copy of the current instance.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public override TableObject Clone(string newName)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">newName</span></td>
        <td><p>ImageDefinition name of the copy.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Tables.TableObject.html">TableObject</a></td>
        <td><p>A new ImageDefinition that is a copy of this instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="overrides">Overrides</h5>
  <div><a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_Clone_System_String_">TableObject.Clone(String)</a></div>
  <h3 id="implements">Implements</h3>
  <div>
      <a class="xref" href="netDxf.IHasXData.html">IHasXData</a>
  </div>
  <div>
      <span class="xref">System.ICloneable</span>
  </div>
  <div>
      <span class="xref">System.IComparable</span>
  </div>
  <div>
      <span class="xref">System.IComparable&lt;T&gt;</span>
  </div>
  <div>
      <span class="xref">System.IEquatable&lt;T&gt;</span>
  </div>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Objects_ImageDefinition.md&amp;value=---%0Auid%3A%20netDxf.Objects.ImageDefinition%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Objects/ImageDefinition.cs/#L37" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
                <h5>In This Article</h5>
                <div></div>
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            
            <span>Generated by <strong>DocFX</strong></span>
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../styles/docfx.js"></script>
    <script type="text/javascript" src="../styles/main.js"></script>
  </body>
</html>
